M[Symbol.asyncDispose]
Bun

method

Terminal.[Symbol.asyncDispose]

[Symbol.asyncDispose](): Promise<void>;

Async dispose for use with await using.